<?php 
	$DOCUMENT_ROOT = $_SERVER ['DOCUMENT_ROOT'];
	
	include_once $DOCUMENT_ROOT . '/bloodPet/library/util/ImageResize.php';
	
	$from_file = $DOCUMENT_ROOT.'/bloodPet/uploads/t1.jpg';
	$save_file = $DOCUMENT_ROOT.'/bloodPet/uploads/t4.jpg';

	echo ImageResize::resize($from_file, $save_file, 960, 600);
?>